<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
     <a class="navbar-brand" href="{{url('')}}">后台管理</a>
     <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
         <span class="navbar-toggler-icon"></span>
     </button>
     <div class="collapse navbar-collapse" id="navbarNav">
         <ul class="navbar-nav">
             <li class="nav-item">
                 <a class="nav-link" href="{{ route('admin.setting') }}" tabindex="-1">
                 <i class='fas fa-cogs'></i> 系统设置</a>
             </li>
             <li class="nav-item">
                 <a class="nav-link" href="{{ route('admin.adminuser') }}" tabindex="-1">
                 <i class='fas fa-user-shield'></i> 管理员</a>
             </li>
             <li class="nav-item">
                 <a class="nav-link" href="{{ route('admin.resource') }}" tabindex="-1">
                 <i class='fas fa-database'></i> 课程资源</a>
             </li>
             <li class="nav-item">
                 <a class="nav-link" href="{{ route('admin.course') }}" tabindex="-1">
                 <i class='fas fa-book'></i> 课程管理</a>
             </li>
             <li class="nav-item">
                 <a class="nav-link" href="{{ route('admin.file') }}" tabindex="-1">
                 <i class='fas fa-file-word'></i> 文件管理</a>
             </li>
         </ul>
     </div>
     <div class="collapse navbar-collapse" id="navbarNav">
         <ul class="navbar-nav ml-auto">
             <li class="nav-item active">
                 <a class="nav-link" href="#" tabindex="-1">
                <i class="fa-solid fa-user-secret"></i> {{ Auth::guard('admin')->user()->username }}</a>
             </li>
             <li class="nav-item">
                 <a class="nav-link" href="{{ route('admin.logout') }}" tabindex="-1">退出</a>
             </li>
         </ul>
     </div>
 </nav>